package com.suishoupai.xmb.dao;

import com.suishoupai.xmb.entity.CutEvaluate;
import com.suishoupai.xmb.entity.Evaluate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by caojian on 2017/4/13.
 */
public interface CutEvaluateMapper {
    Evaluate selectByOrderId(@Param("ordersId") long ordersId);

    Evaluate selectByPrimaryKey(@Param("id") long id);

    int updateByPrimaryKey(Evaluate evaluate);

    List<CutEvaluate> selectCutListBySaleId(@Param("saleId") long saleId);

    List<CutEvaluate> selectCutListBySaleIdWx(@Param("saleId") long saleId, @Param("evaluateId") Long evaluateId);
}
